const mongoose = require("../utils/DB.js");
//创建数据模型
let userSchema = new mongoose.Schema({
    name: String,
    password: String
});
//映射数据模型
let userModel = mongoose.model('userModel', userSchema, 'users');

module.exports = userModel